let isMax = false;
let isFull = false;
console.log('插件已启动')
$(document).keydown(function(event) {
  if (event.altKey) {
    if (event.keyCode === 81) {
      if (isMax) document.querySelector('.wfs-2a8e83.removed-9d4c42').click()
      else document.querySelector('.wfs-exit-180268').click()
      isMax = !isMax
    } else if (event.keyCode === 87) {
      if (isFull) document.querySelector('.fs-exit-b6e6a7.removed-9d4c42').click()
      else document.querySelector('.fs-781153').click()
      isFull = !isFull
    }
  }
});